# $Id: PKGBUILD 66185 2012-02-23 02:33:06Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor Todd Maynard <arch@toddmaynard.com>

pkgname=pympc
pkgver=20050330
pkgrel=7
pkgdesc="Pympc is a client for the Music Player Daemon [www.musicpd.org] written in Python"
arch=('any')
license=('GPL')
depends=('python2' 'pygtk')
url="http://pympc.sourceforge.net/"
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
	"$pkgname.desktop")
md5sums=('f1919da0b1121e97f628045e683c7c4a'
         '66737e3d092c55c365a7d1a9e4ae52df')

build() {
  cd $srcdir/$pkgname-$pkgver
  python2 setup.py install --root=$pkgdir
  install -D -m644 $srcdir/$pkgname.desktop \
		   $pkgdir/usr/share/applications/$pkgname.desktop
}
